<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
</head>
<body>
<div class=WordSection1 style='layout-grid:15.6pt'>
    <p class=MsoNormal style='text-autospace:none'>
        <span lang=EN-US style='font-size:11.0pt'>ALL</span>
        <span style='font-size:11.0pt'>，好：</span>
    </p>

    <p class=MsoNormal style='text-autospace:none'>
        <span lang=EN-US style='font-size:11.0pt'>&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;</span>
        <span style='font-size:11.0pt'>按每日16:00点订单统计{{$date}}日的车间检测统计结果如下：</span>
    </p>


    <table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0 width=767 style='margin-left:-5.9pt;border-collapse:collapse;border:none'>
        <thead>
        <tr>
            <!-- <th class="text-center"></th> -->
            <th class="text-center">门店名称</th>
            <th class="text-center">应检车辆</th>
            <th class="text-center">实检车辆</th>
            <th class="text-center">总用户数</th>
            <th class="text-center">新用户数</th>
            <th class="text-center">转化用户数</th>
            <th class="text-center">检测率</th>
            <th class="text-center">注册转化率</th>
            <th class="text-center">未检车辆</th>
        </tr>
        </thead>
        <tbody>
        @foreach($data as $_data)
            <tr class="text-center">
                <td>{{$_data['shop_name']}}</td>
                <td>{{$_data['car_num']}}</td>
                <td>{{$_data['report_num']}}</td>
                <td>{{$_data['user_num']}}</td>
                <td>{{$_data['shop_user_num']}}</td>
                <td>{{$_data['weixin_user_num']}}</td>
                @if($_data['car_num'] > 0)
                    <td>{{round(($_data['report_num']/$_data['car_num'])*100) }}%</td>
                @else
                    <td>0%</td>
                @endif
                @if($_data['shop_user_num'] > 0)
                    <td>{{round(($_data['weixin_user_num']/$_data['shop_user_num'])*100) }}%</td>
                @else
                    <td>0%</td>
                @endif
                <td>{{$_data['non_report_orders']}}</td>
            </tr>
        @endforeach
        </tbody>
    </table>


    <p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'>指标说明</span></p>
    <p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'>应检车辆：到店进行了机油机滤更换服务的车辆台次（非企业车辆）</span></p>
    <p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'>实检车辆：到店进行了机油机滤更换服务的车辆订单中实际有检测记录的台次（非企业车辆）</span></p>
    <p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'>总用户数：到店进行了机油机滤更换服务的车辆归属的用户总数（非企业车辆用户）</span></p>
    <p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'>新用户数：总用户中为当日门店新建的用户数（非企业车辆用户）</span></p>
    <p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'>转化用户数：当日门店新建的用户数中成功进行微站注册的用户</span></p>
    <p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'>检测率：实检车辆/应检车辆</span></p>
    <p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt'>注册转化率：转化用户数/新用户数</span></p>

</div>

</body>
</html>